class ConversationModel {
  final String id;
  final String deviceId;
  final String? startTime;
  final String? endTime;
  final int? duration;

  ConversationModel({
    required this.id,
    required this.deviceId,
    this.startTime,
    this.endTime,
    this.duration,
  });

  factory ConversationModel.fromJson(Map<String, dynamic> json) {
    return ConversationModel(
      id: json['id'].toString(),
      deviceId: json['deviceId'].toString(),
      startTime: json['startTime'],
      endTime: json['endTime'],
      duration: json['duration'],
    );
  }
} 